home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 21
/
Cream of the Crop 21 (Terry Blount) (October 1996).iso
/
os2
/
nortutil.zip
/
src
/
Kraut
/
kraut.l
next >
Wrap
Text File
|
1996-08-28
|
3KB
|
110 lines
BW [ ]
EW [ .,;!?]
%{
char buf[256];
%}
%%
ing return((int) "ingkt");
" the " return((int) " ze ");
"The " return((int) "Ze ");
" with " return((int) " mitt ");
"With " return((int) "Mitt ");
" is" return((int) " iss");
" Is" return((int) " Iss");
wr return((int) "w-r-r");
Wr return((int) "W-r-r");
R return((int) "R-r-r");
"Yes " return((int) "Jawohl ");
" r" return((int) " r-r-r");
"Yes." return((int) "Jawohl.");
"Yes!" return((int) "Jawohl!");
"YES!" return((int) "JAWOHL!");
" yes " return((int) " ja ");
" yes." return((int) " ja.");
" yes!" return((int) " yes!");
"No " return((int) "Nein ");
"No!" return((int) "Nein!");
"No?" return((int) "Nein?");
" no " return((int) " nein ");
" no." return((int) " nein.");
" no!" return((int) " nein!");
" no?" return((int) " nein?");
" not" return((int) " nicht");
"Not" return((int) "Nicht");
[Mm]"r." return((int) "Herr");
[Mm]"rs." return((int) "Frau");
Miss return((int) "Fraulein");
" of " return((int) " uff ");
"Of " return((int) "Uff ");
my return((int) "mein");
My return((int) "Mein");
" and " return((int) " undt ");
"And " return((int) "Undt ");
"and" return((int) "ent");
"One " return((int) "Ein ");
" one" return((int) " ein");
"Is " return((int) "Ist ");
" is " return((int) " ist ");
"ow " return((int) "ow ");
"w " return((int) "w ");
" sc" return((int) " shc");
"Sc" return((int) "Shc");
" st" return((int) " sht");
"St" return((int) "Sht");
sh return((int) "sch");
Sh return((int) "Sch");
ch return((int) "ch");
Ch return((int) "Ch");
" c" return((int) " k");
" C" return((int) " K");
" for " return((int) " fur ");
Have return((int) "Haf");
have return((int) "haf");
j return((int) "ch");
J return((int) "Ch");
Qu return((int) "Qv");
qu return((int) "qv");
rd return((int) "rt");
v return((int) "f");
V return((int) "F");
" w" return((int) " v");
W return((int) "V");
ward return((int) "verrt");
wh return((int) "v");
Wh return((int) "V");
" th" return((int) " z");
"Th" return((int) "Z");
"th" return((int) "zz");
[Cc]offee return((int) "Kafe");
[Tt]hank[s]* return((int) "Danke");
[Jj]ohn return((int) "Johann");
[Ww]illiam return((int) "Wilhelm");
[Bb]rad return((int) "Wilhelm");
[Gg]ary return((int) "Gerhardt");
[Jj]on return((int) "Hansel");
[a-f]"!" {sprintf(buf,"%s Naturlich!",yytext);return((int) buf);}
[p-z]"!" {sprintf(buf,"%s Seig Heil!",yytext);return((int) buf);}
. return((int) yytext);
\n return((int) "\n");
%%
main()
{
char *line;
while (line = (char *) yylex()) {
printf("%s", line);
}
}
yywrap()
{
return (1);
}